'use strict';

angular.module('afasApp')
.filter('checkedSelection', ['filterFilter', function (filterFilter) {
    return function checkedSelection(input, prop) {
      return filterFilter(input, { selected: true }).map(function (day) {
        return day[prop];
      });
    };
  }]);